 @import "../../mixin.scss";

#category {
  padding-top: 55px 0 50px;
  height:100%;
  .searchRusult {
    min-height: 80upx;
    padding: 0upx 30upx 30upx 30upx;
    background: transparent!important;
    .searchInput {
      width: 100%;
      .search-box {
        text-align: center;
        background: #ededed;
        height:70upx;
        line-height:70upx;
        border-radius: 20px;
        padding: 0 10px;
        .iconfont {
          color:$gray555;
        }
        span {
          color: #999;
          font-size: 28upx;
        }
      }
    }
    .scanCode {
      min-width: 1rem;
      @include flexbox(center,
      center,
      column,
      wrap);
      color: #fff;
      font-size: 24upx;
      span {
        padding-top: 2px;
      }
      .searchQrcodeIcon {
        width: .65rem;
        height: .65rem;
        background-position: 0 0;
      }
    }
    .searchMsg {
      min-width: 1rem;
      @include flexbox(center,
      center,
      column,
      wrap);
      color: #fff;
      font-size: 24upx;
      span {
        padding-top: 2px;
      }
      .searchMsgIcon {
        height: .65rem;
        min-width: .65rem;
        background-position: -1.3rem 0;
      }
    }
  }


  .nav {
    width: 200upx;
    // position: absolute;
    // top: 100upx;
    // bottom: 0px;
    // left: 0;
	position:relative;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #ededed;

    li {
      width: 100%;
      height: 118upx;
      line-height: 118upx;
      border-bottom: 1px solid #fff;
      font-size: 30upx;
      color: $gray555;
      background-color: #ededed;
      padding-left: 40upx;
      position: relative;

      &:last-child {
        border-bottom: 0;
      }

      &.curr {
        color: #ff2d4b;
        background-color: #fff;

        &:before {
          content: "";
          width: 6upx;
          position: absolute;
          left: 0;
          top: 0;
          height: 100%;
          background-color: #ff2d4b;
        }
      }
    }
  }

  .result {
    // position: absolute;
    // right: 0;
    // top: 80upx;
    // bottom: 0upx;
    // left: 200upx;
    overflow: auto;
    -webkit-overflow-scrolling: touch;

    .result-part {
      padding-top: 40upx;
    }

    .result-title {
      font-size: 30upx;
      text-align: center;
      color: $gray222;
      line-height: 1;

      &:before,
      &:after {
        content: "";
        width: 10%;
        height: 2upx;
        background-color: #e7e7e7;
        display: inline-block;
        vertical-align: top;
        margin: 14upx;
      }
    }

    ul {
      font-size: 0;

      li {
        display: inline-block;
        padding: 20px 0;
        width: 33.33%;
        text-align: center;

        .img {
          height: 160upx;
          margin-bottom: 10px;
          position: relative;

          image {
            max-height: 100%;
			width:3.865rem ;
			height:100%;
            position: absolute;
            top: 50%;
            left: 50%;
            @include tslate(-50%,-50%);
          }
        }

        p {
          font-size: 26upx;
          color: $gray555;
        }
      }
    }
  }
}